package com.guchenbo.example.dubbo.template;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import org.apache.dubbo.rpc.Exporter;
import org.apache.dubbo.rpc.Protocol;

public abstract class ProtocolTemplate implements Protocol {

  protected final Map<String, Exporter<?>> exporterMap = new ConcurrentHashMap<String, Exporter<?>>();

  @Override
  public int getDefaultPort() {
    return 0;
  }


  @Override
  public void destroy() {

  }
}
